package com.example.javaee.dao;

import com.example.javaee.entity.Goods;
import com.example.javaee.entity.Order;
import com.example.javaee.entity.User;
import com.example.javaee.entity.UserOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName UserOrderMapper
 * @Description
 * @Author 杨理欢
 * @Date 2021/12/22 20:05
 * @Version V1.0
 */
@Mapper
public interface UserOrderDao {
     List<UserOrder> findAllUserOrder();
     List<UserOrder> findOrder(int orderId);

     void updateOrder(Order order);

     void updateUser(User user);
     int deleteOrder(int orderId);

     List<Order> wxObligationOrder();

     List<Order> wxToSendTheGoods();

     List<Order> wxWaitForReceiving();

     void updateOrderState(int orderId);

    List<Order> wxGetAllOrder();
}
